package com.java.advance.aop;

import com.java.advance.aop.IUserDao;

/**
 * 实现类
 * Created by yangminghua on 2019/4/4.
 */
public class UserDaoImpl implements IUserDao {
    @Override
    public void save() {
        //int i =1/0; 用于测试异常通知
        System.out.println("执行业务方法");
    }

    @Override
    public void findById(Long id) {
        System.out.println("根据ID查询数据");
    }
}
